package ar.com.mooral.data;

import java.util.Collection;
import java.util.Hashtable;
import java.util.Vector;

public class Fields extends Hashtable<String, String> {


	Collection<String> c = new Vector<String>();

	public synchronized String put(String arg0, String arg1) {
		String ret = super.put(arg0, arg1);
		c.add(arg0);
		return ret;
	}
	
	public synchronized String remove(Object arg0) {
		String ret = super.remove(arg0);
		c.remove(arg0);
		return ret;
	}

	public Collection<String> getFieldNames(){
		return c;
	}
	

}
